Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support keyboard gesture on mobile #905

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

LucasXu0
Copy link
Collaborator

@LucasXu0 LucasXu0 commented Sep 29, 2024

  • iOS: Ignore the text update when moving the cursor using the space bar. Only update the text delta when movement ends.
  • Android: Some keyboards use nonTextUpdate to implement keyboard gestures, while others use onFloatingCursor. So we should support both of them.

iOS

ios.mp4

Android

android.mp4

Copy link

codecov bot commented Sep 29, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 71.87%. Comparing base (6da7b4e) to head (73109fc).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ice/ime/delta_input_on_floating_cursor_update.dart 0.00% 13 Missing ⚠️
...rvice/ime/delta_input_on_non_text_update_impl.dart 0.00% 9 Missing ⚠️
...nt/service/selection/mobile_selection_service.dart 0.00% 2 Missing ⚠️
...component/service/ime/non_delta_input_service.dart 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #905      +/-   ##
==========================================
- Coverage   71.97%   71.87%   -0.11%     
==========================================
  Files         318      318              
  Lines       14921    14943      +22     
==========================================
  Hits        10740    10740              
- Misses       4181     4203      +22     
Flag Coverage Δ
71.87% <0.00%> (-0.11%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@LucasXu0 LucasXu0 merged commit d049584 into AppFlowy-IO:main Sep 30, 2024
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant